package pay.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import pay.config.DataBaseName;
import lombok.Data;

/**
 * 意见反馈;undefined
 *
 * @author : http://www.chiner.pro
 * @date : 2025-4-2
 */
@Data
@TableName("feedback")
public class FeedbackEntity extends BaseEntity {
    /**
     * 自增id
     */
    @TableId
    private Integer id;
    /**
     * 提价用户
     */
    @TableField("user_id")
    private String userId;
    /**
     * 文本
     */
    @TableField("content")
    private String content;
    /**
     * 关联message_id，即回复id
     */
    @TableField("message_id")
    private Integer messageId;
    /**
     * 删除
     */
    @TableField("del")
    @TableLogic
    private Integer del;


    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String phoneNumber;

    @TableField(exist = false)
    private MessageEntity messageEntity;
}
